<?php $this->load->view('global_header'); ?>
<link rel="stylesheet" type="text/css" href="/assets/css/photoCreate.css"/>
<div class="error">
    <?php echo validation_errors(); ?>
    <?php echo isset($error)?$error:''; ?>
</div>
<form action="<?php echo base_url(); ?>admin.php?c=photo&m=update" method="post">
<?php echo form_hidden('id', $id); ?>
    <div class="form_row">
        <label for="label">标签</label>
        <input type="text" name="label" value="<?php echo isset($label)?$label:set_value('label'); ?>"/> *
    </div>
    <div class="form_row form_btn">
        <input type="submit" name="submit" value="保存"/>
    </div>
</form>

<?php $this->load->view('global_footer'); ?>